#ifndef STATEMENT_H
#define STATEMENT_H

#include "corecommon.h"

namespace TA {


class Statement : public QObject
{
    Q_OBJECT
public:
    explicit Statement(QObject *parent = 0);

    QString getText() const;
    void setText(const QString &value);

    int getBeginPos() const;
    void setBeginPos(int value);

    WordType getType() const;
    void setType(const WordType &value);

    Document *getDocument() const;
    void setDocument(Document *value);

private:
    Document* document;
    QString text;
    int beginPos;
    WordType type;

signals:

public slots:
};
}

QDebug operator<<(QDebug debug, const TA::Statement &s);

#endif // STATEMENT_H
